package com.jcgyl.export.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class TbInventoryBodyExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TbInventoryBodyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andInventoryBodyIdIsNull() {
            addCriterion("inventory_body_id is null");
            return (Criteria) this;
        }

        public Criteria andInventoryBodyIdIsNotNull() {
            addCriterion("inventory_body_id is not null");
            return (Criteria) this;
        }

        public Criteria andInventoryBodyIdEqualTo(Integer value) {
            addCriterion("inventory_body_id =", value, "inventoryBodyId");
            return (Criteria) this;
        }

        public Criteria andInventoryBodyIdNotEqualTo(Integer value) {
            addCriterion("inventory_body_id <>", value, "inventoryBodyId");
            return (Criteria) this;
        }

        public Criteria andInventoryBodyIdGreaterThan(Integer value) {
            addCriterion("inventory_body_id >", value, "inventoryBodyId");
            return (Criteria) this;
        }

        public Criteria andInventoryBodyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("inventory_body_id >=", value, "inventoryBodyId");
            return (Criteria) this;
        }

        public Criteria andInventoryBodyIdLessThan(Integer value) {
            addCriterion("inventory_body_id <", value, "inventoryBodyId");
            return (Criteria) this;
        }

        public Criteria andInventoryBodyIdLessThanOrEqualTo(Integer value) {
            addCriterion("inventory_body_id <=", value, "inventoryBodyId");
            return (Criteria) this;
        }

        public Criteria andInventoryBodyIdIn(List<Integer> values) {
            addCriterion("inventory_body_id in", values, "inventoryBodyId");
            return (Criteria) this;
        }

        public Criteria andInventoryBodyIdNotIn(List<Integer> values) {
            addCriterion("inventory_body_id not in", values, "inventoryBodyId");
            return (Criteria) this;
        }

        public Criteria andInventoryBodyIdBetween(Integer value1, Integer value2) {
            addCriterion("inventory_body_id between", value1, value2, "inventoryBodyId");
            return (Criteria) this;
        }

        public Criteria andInventoryBodyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("inventory_body_id not between", value1, value2, "inventoryBodyId");
            return (Criteria) this;
        }

        public Criteria andHsCodeIsNull() {
            addCriterion("hs_code is null");
            return (Criteria) this;
        }

        public Criteria andHsCodeIsNotNull() {
            addCriterion("hs_code is not null");
            return (Criteria) this;
        }

        public Criteria andHsCodeEqualTo(String value) {
            addCriterion("hs_code =", value, "hsCode");
            return (Criteria) this;
        }

        public Criteria andHsCodeNotEqualTo(String value) {
            addCriterion("hs_code <>", value, "hsCode");
            return (Criteria) this;
        }

        public Criteria andHsCodeGreaterThan(String value) {
            addCriterion("hs_code >", value, "hsCode");
            return (Criteria) this;
        }

        public Criteria andHsCodeGreaterThanOrEqualTo(String value) {
            addCriterion("hs_code >=", value, "hsCode");
            return (Criteria) this;
        }

        public Criteria andHsCodeLessThan(String value) {
            addCriterion("hs_code <", value, "hsCode");
            return (Criteria) this;
        }

        public Criteria andHsCodeLessThanOrEqualTo(String value) {
            addCriterion("hs_code <=", value, "hsCode");
            return (Criteria) this;
        }

        public Criteria andHsCodeLike(String value) {
            addCriterion("hs_code like", value, "hsCode");
            return (Criteria) this;
        }

        public Criteria andHsCodeNotLike(String value) {
            addCriterion("hs_code not like", value, "hsCode");
            return (Criteria) this;
        }

        public Criteria andHsCodeIn(List<String> values) {
            addCriterion("hs_code in", values, "hsCode");
            return (Criteria) this;
        }

        public Criteria andHsCodeNotIn(List<String> values) {
            addCriterion("hs_code not in", values, "hsCode");
            return (Criteria) this;
        }

        public Criteria andHsCodeBetween(String value1, String value2) {
            addCriterion("hs_code between", value1, value2, "hsCode");
            return (Criteria) this;
        }

        public Criteria andHsCodeNotBetween(String value1, String value2) {
            addCriterion("hs_code not between", value1, value2, "hsCode");
            return (Criteria) this;
        }

        public Criteria andGoodsModelIsNull() {
            addCriterion("goods_model is null");
            return (Criteria) this;
        }

        public Criteria andGoodsModelIsNotNull() {
            addCriterion("goods_model is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsModelEqualTo(String value) {
            addCriterion("goods_model =", value, "goodsModel");
            return (Criteria) this;
        }

        public Criteria andGoodsModelNotEqualTo(String value) {
            addCriterion("goods_model <>", value, "goodsModel");
            return (Criteria) this;
        }

        public Criteria andGoodsModelGreaterThan(String value) {
            addCriterion("goods_model >", value, "goodsModel");
            return (Criteria) this;
        }

        public Criteria andGoodsModelGreaterThanOrEqualTo(String value) {
            addCriterion("goods_model >=", value, "goodsModel");
            return (Criteria) this;
        }

        public Criteria andGoodsModelLessThan(String value) {
            addCriterion("goods_model <", value, "goodsModel");
            return (Criteria) this;
        }

        public Criteria andGoodsModelLessThanOrEqualTo(String value) {
            addCriterion("goods_model <=", value, "goodsModel");
            return (Criteria) this;
        }

        public Criteria andGoodsModelLike(String value) {
            addCriterion("goods_model like", value, "goodsModel");
            return (Criteria) this;
        }

        public Criteria andGoodsModelNotLike(String value) {
            addCriterion("goods_model not like", value, "goodsModel");
            return (Criteria) this;
        }

        public Criteria andGoodsModelIn(List<String> values) {
            addCriterion("goods_model in", values, "goodsModel");
            return (Criteria) this;
        }

        public Criteria andGoodsModelNotIn(List<String> values) {
            addCriterion("goods_model not in", values, "goodsModel");
            return (Criteria) this;
        }

        public Criteria andGoodsModelBetween(String value1, String value2) {
            addCriterion("goods_model between", value1, value2, "goodsModel");
            return (Criteria) this;
        }

        public Criteria andGoodsModelNotBetween(String value1, String value2) {
            addCriterion("goods_model not between", value1, value2, "goodsModel");
            return (Criteria) this;
        }

        public Criteria andGoodsNoIsNull() {
            addCriterion("goods_no is null");
            return (Criteria) this;
        }

        public Criteria andGoodsNoIsNotNull() {
            addCriterion("goods_no is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsNoEqualTo(String value) {
            addCriterion("goods_no =", value, "goodsNo");
            return (Criteria) this;
        }

        public Criteria andGoodsNoNotEqualTo(String value) {
            addCriterion("goods_no <>", value, "goodsNo");
            return (Criteria) this;
        }

        public Criteria andGoodsNoGreaterThan(String value) {
            addCriterion("goods_no >", value, "goodsNo");
            return (Criteria) this;
        }

        public Criteria andGoodsNoGreaterThanOrEqualTo(String value) {
            addCriterion("goods_no >=", value, "goodsNo");
            return (Criteria) this;
        }

        public Criteria andGoodsNoLessThan(String value) {
            addCriterion("goods_no <", value, "goodsNo");
            return (Criteria) this;
        }

        public Criteria andGoodsNoLessThanOrEqualTo(String value) {
            addCriterion("goods_no <=", value, "goodsNo");
            return (Criteria) this;
        }

        public Criteria andGoodsNoLike(String value) {
            addCriterion("goods_no like", value, "goodsNo");
            return (Criteria) this;
        }

        public Criteria andGoodsNoNotLike(String value) {
            addCriterion("goods_no not like", value, "goodsNo");
            return (Criteria) this;
        }

        public Criteria andGoodsNoIn(List<String> values) {
            addCriterion("goods_no in", values, "goodsNo");
            return (Criteria) this;
        }

        public Criteria andGoodsNoNotIn(List<String> values) {
            addCriterion("goods_no not in", values, "goodsNo");
            return (Criteria) this;
        }

        public Criteria andGoodsNoBetween(String value1, String value2) {
            addCriterion("goods_no between", value1, value2, "goodsNo");
            return (Criteria) this;
        }

        public Criteria andGoodsNoNotBetween(String value1, String value2) {
            addCriterion("goods_no not between", value1, value2, "goodsNo");
            return (Criteria) this;
        }

        public Criteria andGoodsNameIsNull() {
            addCriterion("goods_name is null");
            return (Criteria) this;
        }

        public Criteria andGoodsNameIsNotNull() {
            addCriterion("goods_name is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsNameEqualTo(String value) {
            addCriterion("goods_name =", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotEqualTo(String value) {
            addCriterion("goods_name <>", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameGreaterThan(String value) {
            addCriterion("goods_name >", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameGreaterThanOrEqualTo(String value) {
            addCriterion("goods_name >=", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameLessThan(String value) {
            addCriterion("goods_name <", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameLessThanOrEqualTo(String value) {
            addCriterion("goods_name <=", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameLike(String value) {
            addCriterion("goods_name like", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotLike(String value) {
            addCriterion("goods_name not like", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameIn(List<String> values) {
            addCriterion("goods_name in", values, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotIn(List<String> values) {
            addCriterion("goods_name not in", values, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameBetween(String value1, String value2) {
            addCriterion("goods_name between", value1, value2, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotBetween(String value1, String value2) {
            addCriterion("goods_name not between", value1, value2, "goodsName");
            return (Criteria) this;
        }

        public Criteria andUnitIsNull() {
            addCriterion("unit is null");
            return (Criteria) this;
        }

        public Criteria andUnitIsNotNull() {
            addCriterion("unit is not null");
            return (Criteria) this;
        }

        public Criteria andUnitEqualTo(String value) {
            addCriterion("unit =", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotEqualTo(String value) {
            addCriterion("unit <>", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThan(String value) {
            addCriterion("unit >", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThanOrEqualTo(String value) {
            addCriterion("unit >=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThan(String value) {
            addCriterion("unit <", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThanOrEqualTo(String value) {
            addCriterion("unit <=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLike(String value) {
            addCriterion("unit like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotLike(String value) {
            addCriterion("unit not like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitIn(List<String> values) {
            addCriterion("unit in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotIn(List<String> values) {
            addCriterion("unit not in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitBetween(String value1, String value2) {
            addCriterion("unit between", value1, value2, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotBetween(String value1, String value2) {
            addCriterion("unit not between", value1, value2, "unit");
            return (Criteria) this;
        }

        public Criteria andUnit1IsNull() {
            addCriterion("unit1 is null");
            return (Criteria) this;
        }

        public Criteria andUnit1IsNotNull() {
            addCriterion("unit1 is not null");
            return (Criteria) this;
        }

        public Criteria andUnit1EqualTo(String value) {
            addCriterion("unit1 =", value, "unit1");
            return (Criteria) this;
        }

        public Criteria andUnit1NotEqualTo(String value) {
            addCriterion("unit1 <>", value, "unit1");
            return (Criteria) this;
        }

        public Criteria andUnit1GreaterThan(String value) {
            addCriterion("unit1 >", value, "unit1");
            return (Criteria) this;
        }

        public Criteria andUnit1GreaterThanOrEqualTo(String value) {
            addCriterion("unit1 >=", value, "unit1");
            return (Criteria) this;
        }

        public Criteria andUnit1LessThan(String value) {
            addCriterion("unit1 <", value, "unit1");
            return (Criteria) this;
        }

        public Criteria andUnit1LessThanOrEqualTo(String value) {
            addCriterion("unit1 <=", value, "unit1");
            return (Criteria) this;
        }

        public Criteria andUnit1Like(String value) {
            addCriterion("unit1 like", value, "unit1");
            return (Criteria) this;
        }

        public Criteria andUnit1NotLike(String value) {
            addCriterion("unit1 not like", value, "unit1");
            return (Criteria) this;
        }

        public Criteria andUnit1In(List<String> values) {
            addCriterion("unit1 in", values, "unit1");
            return (Criteria) this;
        }

        public Criteria andUnit1NotIn(List<String> values) {
            addCriterion("unit1 not in", values, "unit1");
            return (Criteria) this;
        }

        public Criteria andUnit1Between(String value1, String value2) {
            addCriterion("unit1 between", value1, value2, "unit1");
            return (Criteria) this;
        }

        public Criteria andUnit1NotBetween(String value1, String value2) {
            addCriterion("unit1 not between", value1, value2, "unit1");
            return (Criteria) this;
        }

        public Criteria andNetWeightIsNull() {
            addCriterion("net_weight is null");
            return (Criteria) this;
        }

        public Criteria andNetWeightIsNotNull() {
            addCriterion("net_weight is not null");
            return (Criteria) this;
        }

        public Criteria andNetWeightEqualTo(BigDecimal value) {
            addCriterion("net_weight =", value, "netWeight");
            return (Criteria) this;
        }

        public Criteria andNetWeightNotEqualTo(BigDecimal value) {
            addCriterion("net_weight <>", value, "netWeight");
            return (Criteria) this;
        }

        public Criteria andNetWeightGreaterThan(BigDecimal value) {
            addCriterion("net_weight >", value, "netWeight");
            return (Criteria) this;
        }

        public Criteria andNetWeightGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("net_weight >=", value, "netWeight");
            return (Criteria) this;
        }

        public Criteria andNetWeightLessThan(BigDecimal value) {
            addCriterion("net_weight <", value, "netWeight");
            return (Criteria) this;
        }

        public Criteria andNetWeightLessThanOrEqualTo(BigDecimal value) {
            addCriterion("net_weight <=", value, "netWeight");
            return (Criteria) this;
        }

        public Criteria andNetWeightIn(List<BigDecimal> values) {
            addCriterion("net_weight in", values, "netWeight");
            return (Criteria) this;
        }

        public Criteria andNetWeightNotIn(List<BigDecimal> values) {
            addCriterion("net_weight not in", values, "netWeight");
            return (Criteria) this;
        }

        public Criteria andNetWeightBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("net_weight between", value1, value2, "netWeight");
            return (Criteria) this;
        }

        public Criteria andNetWeightNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("net_weight not between", value1, value2, "netWeight");
            return (Criteria) this;
        }

        public Criteria andUnit2IsNull() {
            addCriterion("unit2 is null");
            return (Criteria) this;
        }

        public Criteria andUnit2IsNotNull() {
            addCriterion("unit2 is not null");
            return (Criteria) this;
        }

        public Criteria andUnit2EqualTo(String value) {
            addCriterion("unit2 =", value, "unit2");
            return (Criteria) this;
        }

        public Criteria andUnit2NotEqualTo(String value) {
            addCriterion("unit2 <>", value, "unit2");
            return (Criteria) this;
        }

        public Criteria andUnit2GreaterThan(String value) {
            addCriterion("unit2 >", value, "unit2");
            return (Criteria) this;
        }

        public Criteria andUnit2GreaterThanOrEqualTo(String value) {
            addCriterion("unit2 >=", value, "unit2");
            return (Criteria) this;
        }

        public Criteria andUnit2LessThan(String value) {
            addCriterion("unit2 <", value, "unit2");
            return (Criteria) this;
        }

        public Criteria andUnit2LessThanOrEqualTo(String value) {
            addCriterion("unit2 <=", value, "unit2");
            return (Criteria) this;
        }

        public Criteria andUnit2Like(String value) {
            addCriterion("unit2 like", value, "unit2");
            return (Criteria) this;
        }

        public Criteria andUnit2NotLike(String value) {
            addCriterion("unit2 not like", value, "unit2");
            return (Criteria) this;
        }

        public Criteria andUnit2In(List<String> values) {
            addCriterion("unit2 in", values, "unit2");
            return (Criteria) this;
        }

        public Criteria andUnit2NotIn(List<String> values) {
            addCriterion("unit2 not in", values, "unit2");
            return (Criteria) this;
        }

        public Criteria andUnit2Between(String value1, String value2) {
            addCriterion("unit2 between", value1, value2, "unit2");
            return (Criteria) this;
        }

        public Criteria andUnit2NotBetween(String value1, String value2) {
            addCriterion("unit2 not between", value1, value2, "unit2");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(BigDecimal value) {
            addCriterion("amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(BigDecimal value) {
            addCriterion("amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(BigDecimal value) {
            addCriterion("amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(BigDecimal value) {
            addCriterion("amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<BigDecimal> values) {
            addCriterion("amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<BigDecimal> values) {
            addCriterion("amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andShelfGoodsNameIsNull() {
            addCriterion("shelf_goods_name is null");
            return (Criteria) this;
        }

        public Criteria andShelfGoodsNameIsNotNull() {
            addCriterion("shelf_goods_name is not null");
            return (Criteria) this;
        }

        public Criteria andShelfGoodsNameEqualTo(String value) {
            addCriterion("shelf_goods_name =", value, "shelfGoodsName");
            return (Criteria) this;
        }

        public Criteria andShelfGoodsNameNotEqualTo(String value) {
            addCriterion("shelf_goods_name <>", value, "shelfGoodsName");
            return (Criteria) this;
        }

        public Criteria andShelfGoodsNameGreaterThan(String value) {
            addCriterion("shelf_goods_name >", value, "shelfGoodsName");
            return (Criteria) this;
        }

        public Criteria andShelfGoodsNameGreaterThanOrEqualTo(String value) {
            addCriterion("shelf_goods_name >=", value, "shelfGoodsName");
            return (Criteria) this;
        }

        public Criteria andShelfGoodsNameLessThan(String value) {
            addCriterion("shelf_goods_name <", value, "shelfGoodsName");
            return (Criteria) this;
        }

        public Criteria andShelfGoodsNameLessThanOrEqualTo(String value) {
            addCriterion("shelf_goods_name <=", value, "shelfGoodsName");
            return (Criteria) this;
        }

        public Criteria andShelfGoodsNameLike(String value) {
            addCriterion("shelf_goods_name like", value, "shelfGoodsName");
            return (Criteria) this;
        }

        public Criteria andShelfGoodsNameNotLike(String value) {
            addCriterion("shelf_goods_name not like", value, "shelfGoodsName");
            return (Criteria) this;
        }

        public Criteria andShelfGoodsNameIn(List<String> values) {
            addCriterion("shelf_goods_name in", values, "shelfGoodsName");
            return (Criteria) this;
        }

        public Criteria andShelfGoodsNameNotIn(List<String> values) {
            addCriterion("shelf_goods_name not in", values, "shelfGoodsName");
            return (Criteria) this;
        }

        public Criteria andShelfGoodsNameBetween(String value1, String value2) {
            addCriterion("shelf_goods_name between", value1, value2, "shelfGoodsName");
            return (Criteria) this;
        }

        public Criteria andShelfGoodsNameNotBetween(String value1, String value2) {
            addCriterion("shelf_goods_name not between", value1, value2, "shelfGoodsName");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(BigDecimal value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(BigDecimal value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(BigDecimal value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(BigDecimal value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<BigDecimal> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<BigDecimal> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andOrderSumIsNull() {
            addCriterion("order_sum is null");
            return (Criteria) this;
        }

        public Criteria andOrderSumIsNotNull() {
            addCriterion("order_sum is not null");
            return (Criteria) this;
        }

        public Criteria andOrderSumEqualTo(BigDecimal value) {
            addCriterion("order_sum =", value, "orderSum");
            return (Criteria) this;
        }

        public Criteria andOrderSumNotEqualTo(BigDecimal value) {
            addCriterion("order_sum <>", value, "orderSum");
            return (Criteria) this;
        }

        public Criteria andOrderSumGreaterThan(BigDecimal value) {
            addCriterion("order_sum >", value, "orderSum");
            return (Criteria) this;
        }

        public Criteria andOrderSumGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("order_sum >=", value, "orderSum");
            return (Criteria) this;
        }

        public Criteria andOrderSumLessThan(BigDecimal value) {
            addCriterion("order_sum <", value, "orderSum");
            return (Criteria) this;
        }

        public Criteria andOrderSumLessThanOrEqualTo(BigDecimal value) {
            addCriterion("order_sum <=", value, "orderSum");
            return (Criteria) this;
        }

        public Criteria andOrderSumIn(List<BigDecimal> values) {
            addCriterion("order_sum in", values, "orderSum");
            return (Criteria) this;
        }

        public Criteria andOrderSumNotIn(List<BigDecimal> values) {
            addCriterion("order_sum not in", values, "orderSum");
            return (Criteria) this;
        }

        public Criteria andOrderSumBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("order_sum between", value1, value2, "orderSum");
            return (Criteria) this;
        }

        public Criteria andOrderSumNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("order_sum not between", value1, value2, "orderSum");
            return (Criteria) this;
        }

        public Criteria andSrcCountryInspIsNull() {
            addCriterion("src_country_insp is null");
            return (Criteria) this;
        }

        public Criteria andSrcCountryInspIsNotNull() {
            addCriterion("src_country_insp is not null");
            return (Criteria) this;
        }

        public Criteria andSrcCountryInspEqualTo(String value) {
            addCriterion("src_country_insp =", value, "srcCountryInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryInspNotEqualTo(String value) {
            addCriterion("src_country_insp <>", value, "srcCountryInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryInspGreaterThan(String value) {
            addCriterion("src_country_insp >", value, "srcCountryInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryInspGreaterThanOrEqualTo(String value) {
            addCriterion("src_country_insp >=", value, "srcCountryInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryInspLessThan(String value) {
            addCriterion("src_country_insp <", value, "srcCountryInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryInspLessThanOrEqualTo(String value) {
            addCriterion("src_country_insp <=", value, "srcCountryInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryInspLike(String value) {
            addCriterion("src_country_insp like", value, "srcCountryInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryInspNotLike(String value) {
            addCriterion("src_country_insp not like", value, "srcCountryInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryInspIn(List<String> values) {
            addCriterion("src_country_insp in", values, "srcCountryInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryInspNotIn(List<String> values) {
            addCriterion("src_country_insp not in", values, "srcCountryInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryInspBetween(String value1, String value2) {
            addCriterion("src_country_insp between", value1, value2, "srcCountryInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryInspNotBetween(String value1, String value2) {
            addCriterion("src_country_insp not between", value1, value2, "srcCountryInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryNameInspIsNull() {
            addCriterion("src_country_name_insp is null");
            return (Criteria) this;
        }

        public Criteria andSrcCountryNameInspIsNotNull() {
            addCriterion("src_country_name_insp is not null");
            return (Criteria) this;
        }

        public Criteria andSrcCountryNameInspEqualTo(String value) {
            addCriterion("src_country_name_insp =", value, "srcCountryNameInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryNameInspNotEqualTo(String value) {
            addCriterion("src_country_name_insp <>", value, "srcCountryNameInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryNameInspGreaterThan(String value) {
            addCriterion("src_country_name_insp >", value, "srcCountryNameInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryNameInspGreaterThanOrEqualTo(String value) {
            addCriterion("src_country_name_insp >=", value, "srcCountryNameInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryNameInspLessThan(String value) {
            addCriterion("src_country_name_insp <", value, "srcCountryNameInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryNameInspLessThanOrEqualTo(String value) {
            addCriterion("src_country_name_insp <=", value, "srcCountryNameInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryNameInspLike(String value) {
            addCriterion("src_country_name_insp like", value, "srcCountryNameInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryNameInspNotLike(String value) {
            addCriterion("src_country_name_insp not like", value, "srcCountryNameInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryNameInspIn(List<String> values) {
            addCriterion("src_country_name_insp in", values, "srcCountryNameInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryNameInspNotIn(List<String> values) {
            addCriterion("src_country_name_insp not in", values, "srcCountryNameInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryNameInspBetween(String value1, String value2) {
            addCriterion("src_country_name_insp between", value1, value2, "srcCountryNameInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryNameInspNotBetween(String value1, String value2) {
            addCriterion("src_country_name_insp not between", value1, value2, "srcCountryNameInsp");
            return (Criteria) this;
        }

        public Criteria andBrandIsNull() {
            addCriterion("brand is null");
            return (Criteria) this;
        }

        public Criteria andBrandIsNotNull() {
            addCriterion("brand is not null");
            return (Criteria) this;
        }

        public Criteria andBrandEqualTo(String value) {
            addCriterion("brand =", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotEqualTo(String value) {
            addCriterion("brand <>", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandGreaterThan(String value) {
            addCriterion("brand >", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandGreaterThanOrEqualTo(String value) {
            addCriterion("brand >=", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLessThan(String value) {
            addCriterion("brand <", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLessThanOrEqualTo(String value) {
            addCriterion("brand <=", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLike(String value) {
            addCriterion("brand like", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotLike(String value) {
            addCriterion("brand not like", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandIn(List<String> values) {
            addCriterion("brand in", values, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotIn(List<String> values) {
            addCriterion("brand not in", values, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandBetween(String value1, String value2) {
            addCriterion("brand between", value1, value2, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotBetween(String value1, String value2) {
            addCriterion("brand not between", value1, value2, "brand");
            return (Criteria) this;
        }

        public Criteria andUnitNameIsNull() {
            addCriterion("unit_name is null");
            return (Criteria) this;
        }

        public Criteria andUnitNameIsNotNull() {
            addCriterion("unit_name is not null");
            return (Criteria) this;
        }

        public Criteria andUnitNameEqualTo(String value) {
            addCriterion("unit_name =", value, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitNameNotEqualTo(String value) {
            addCriterion("unit_name <>", value, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitNameGreaterThan(String value) {
            addCriterion("unit_name >", value, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitNameGreaterThanOrEqualTo(String value) {
            addCriterion("unit_name >=", value, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitNameLessThan(String value) {
            addCriterion("unit_name <", value, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitNameLessThanOrEqualTo(String value) {
            addCriterion("unit_name <=", value, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitNameLike(String value) {
            addCriterion("unit_name like", value, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitNameNotLike(String value) {
            addCriterion("unit_name not like", value, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitNameIn(List<String> values) {
            addCriterion("unit_name in", values, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitNameNotIn(List<String> values) {
            addCriterion("unit_name not in", values, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitNameBetween(String value1, String value2) {
            addCriterion("unit_name between", value1, value2, "unitName");
            return (Criteria) this;
        }

        public Criteria andUnitNameNotBetween(String value1, String value2) {
            addCriterion("unit_name not between", value1, value2, "unitName");
            return (Criteria) this;
        }

        public Criteria andEntryListNumberIsNull() {
            addCriterion("entry_list_number is null");
            return (Criteria) this;
        }

        public Criteria andEntryListNumberIsNotNull() {
            addCriterion("entry_list_number is not null");
            return (Criteria) this;
        }

        public Criteria andEntryListNumberEqualTo(String value) {
            addCriterion("entry_list_number =", value, "entryListNumber");
            return (Criteria) this;
        }

        public Criteria andEntryListNumberNotEqualTo(String value) {
            addCriterion("entry_list_number <>", value, "entryListNumber");
            return (Criteria) this;
        }

        public Criteria andEntryListNumberGreaterThan(String value) {
            addCriterion("entry_list_number >", value, "entryListNumber");
            return (Criteria) this;
        }

        public Criteria andEntryListNumberGreaterThanOrEqualTo(String value) {
            addCriterion("entry_list_number >=", value, "entryListNumber");
            return (Criteria) this;
        }

        public Criteria andEntryListNumberLessThan(String value) {
            addCriterion("entry_list_number <", value, "entryListNumber");
            return (Criteria) this;
        }

        public Criteria andEntryListNumberLessThanOrEqualTo(String value) {
            addCriterion("entry_list_number <=", value, "entryListNumber");
            return (Criteria) this;
        }

        public Criteria andEntryListNumberLike(String value) {
            addCriterion("entry_list_number like", value, "entryListNumber");
            return (Criteria) this;
        }

        public Criteria andEntryListNumberNotLike(String value) {
            addCriterion("entry_list_number not like", value, "entryListNumber");
            return (Criteria) this;
        }

        public Criteria andEntryListNumberIn(List<String> values) {
            addCriterion("entry_list_number in", values, "entryListNumber");
            return (Criteria) this;
        }

        public Criteria andEntryListNumberNotIn(List<String> values) {
            addCriterion("entry_list_number not in", values, "entryListNumber");
            return (Criteria) this;
        }

        public Criteria andEntryListNumberBetween(String value1, String value2) {
            addCriterion("entry_list_number between", value1, value2, "entryListNumber");
            return (Criteria) this;
        }

        public Criteria andEntryListNumberNotBetween(String value1, String value2) {
            addCriterion("entry_list_number not between", value1, value2, "entryListNumber");
            return (Criteria) this;
        }

        public Criteria andDeliveryNumberIsNull() {
            addCriterion("delivery_number is null");
            return (Criteria) this;
        }

        public Criteria andDeliveryNumberIsNotNull() {
            addCriterion("delivery_number is not null");
            return (Criteria) this;
        }

        public Criteria andDeliveryNumberEqualTo(String value) {
            addCriterion("delivery_number =", value, "deliveryNumber");
            return (Criteria) this;
        }

        public Criteria andDeliveryNumberNotEqualTo(String value) {
            addCriterion("delivery_number <>", value, "deliveryNumber");
            return (Criteria) this;
        }

        public Criteria andDeliveryNumberGreaterThan(String value) {
            addCriterion("delivery_number >", value, "deliveryNumber");
            return (Criteria) this;
        }

        public Criteria andDeliveryNumberGreaterThanOrEqualTo(String value) {
            addCriterion("delivery_number >=", value, "deliveryNumber");
            return (Criteria) this;
        }

        public Criteria andDeliveryNumberLessThan(String value) {
            addCriterion("delivery_number <", value, "deliveryNumber");
            return (Criteria) this;
        }

        public Criteria andDeliveryNumberLessThanOrEqualTo(String value) {
            addCriterion("delivery_number <=", value, "deliveryNumber");
            return (Criteria) this;
        }

        public Criteria andDeliveryNumberLike(String value) {
            addCriterion("delivery_number like", value, "deliveryNumber");
            return (Criteria) this;
        }

        public Criteria andDeliveryNumberNotLike(String value) {
            addCriterion("delivery_number not like", value, "deliveryNumber");
            return (Criteria) this;
        }

        public Criteria andDeliveryNumberIn(List<String> values) {
            addCriterion("delivery_number in", values, "deliveryNumber");
            return (Criteria) this;
        }

        public Criteria andDeliveryNumberNotIn(List<String> values) {
            addCriterion("delivery_number not in", values, "deliveryNumber");
            return (Criteria) this;
        }

        public Criteria andDeliveryNumberBetween(String value1, String value2) {
            addCriterion("delivery_number between", value1, value2, "deliveryNumber");
            return (Criteria) this;
        }

        public Criteria andDeliveryNumberNotBetween(String value1, String value2) {
            addCriterion("delivery_number not between", value1, value2, "deliveryNumber");
            return (Criteria) this;
        }

        public Criteria andCommodityNumberInspIsNull() {
            addCriterion("commodity_number_insp is null");
            return (Criteria) this;
        }

        public Criteria andCommodityNumberInspIsNotNull() {
            addCriterion("commodity_number_insp is not null");
            return (Criteria) this;
        }

        public Criteria andCommodityNumberInspEqualTo(String value) {
            addCriterion("commodity_number_insp =", value, "commodityNumberInsp");
            return (Criteria) this;
        }

        public Criteria andCommodityNumberInspNotEqualTo(String value) {
            addCriterion("commodity_number_insp <>", value, "commodityNumberInsp");
            return (Criteria) this;
        }

        public Criteria andCommodityNumberInspGreaterThan(String value) {
            addCriterion("commodity_number_insp >", value, "commodityNumberInsp");
            return (Criteria) this;
        }

        public Criteria andCommodityNumberInspGreaterThanOrEqualTo(String value) {
            addCriterion("commodity_number_insp >=", value, "commodityNumberInsp");
            return (Criteria) this;
        }

        public Criteria andCommodityNumberInspLessThan(String value) {
            addCriterion("commodity_number_insp <", value, "commodityNumberInsp");
            return (Criteria) this;
        }

        public Criteria andCommodityNumberInspLessThanOrEqualTo(String value) {
            addCriterion("commodity_number_insp <=", value, "commodityNumberInsp");
            return (Criteria) this;
        }

        public Criteria andCommodityNumberInspLike(String value) {
            addCriterion("commodity_number_insp like", value, "commodityNumberInsp");
            return (Criteria) this;
        }

        public Criteria andCommodityNumberInspNotLike(String value) {
            addCriterion("commodity_number_insp not like", value, "commodityNumberInsp");
            return (Criteria) this;
        }

        public Criteria andCommodityNumberInspIn(List<String> values) {
            addCriterion("commodity_number_insp in", values, "commodityNumberInsp");
            return (Criteria) this;
        }

        public Criteria andCommodityNumberInspNotIn(List<String> values) {
            addCriterion("commodity_number_insp not in", values, "commodityNumberInsp");
            return (Criteria) this;
        }

        public Criteria andCommodityNumberInspBetween(String value1, String value2) {
            addCriterion("commodity_number_insp between", value1, value2, "commodityNumberInsp");
            return (Criteria) this;
        }

        public Criteria andCommodityNumberInspNotBetween(String value1, String value2) {
            addCriterion("commodity_number_insp not between", value1, value2, "commodityNumberInsp");
            return (Criteria) this;
        }

        public Criteria andSrcCountryIsNull() {
            addCriterion("src_country is null");
            return (Criteria) this;
        }

        public Criteria andSrcCountryIsNotNull() {
            addCriterion("src_country is not null");
            return (Criteria) this;
        }

        public Criteria andSrcCountryEqualTo(String value) {
            addCriterion("src_country =", value, "srcCountry");
            return (Criteria) this;
        }

        public Criteria andSrcCountryNotEqualTo(String value) {
            addCriterion("src_country <>", value, "srcCountry");
            return (Criteria) this;
        }

        public Criteria andSrcCountryGreaterThan(String value) {
            addCriterion("src_country >", value, "srcCountry");
            return (Criteria) this;
        }

        public Criteria andSrcCountryGreaterThanOrEqualTo(String value) {
            addCriterion("src_country >=", value, "srcCountry");
            return (Criteria) this;
        }

        public Criteria andSrcCountryLessThan(String value) {
            addCriterion("src_country <", value, "srcCountry");
            return (Criteria) this;
        }

        public Criteria andSrcCountryLessThanOrEqualTo(String value) {
            addCriterion("src_country <=", value, "srcCountry");
            return (Criteria) this;
        }

        public Criteria andSrcCountryLike(String value) {
            addCriterion("src_country like", value, "srcCountry");
            return (Criteria) this;
        }

        public Criteria andSrcCountryNotLike(String value) {
            addCriterion("src_country not like", value, "srcCountry");
            return (Criteria) this;
        }

        public Criteria andSrcCountryIn(List<String> values) {
            addCriterion("src_country in", values, "srcCountry");
            return (Criteria) this;
        }

        public Criteria andSrcCountryNotIn(List<String> values) {
            addCriterion("src_country not in", values, "srcCountry");
            return (Criteria) this;
        }

        public Criteria andSrcCountryBetween(String value1, String value2) {
            addCriterion("src_country between", value1, value2, "srcCountry");
            return (Criteria) this;
        }

        public Criteria andSrcCountryNotBetween(String value1, String value2) {
            addCriterion("src_country not between", value1, value2, "srcCountry");
            return (Criteria) this;
        }

        public Criteria andWeightIsNull() {
            addCriterion("weight is null");
            return (Criteria) this;
        }

        public Criteria andWeightIsNotNull() {
            addCriterion("weight is not null");
            return (Criteria) this;
        }

        public Criteria andWeightEqualTo(BigDecimal value) {
            addCriterion("weight =", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotEqualTo(BigDecimal value) {
            addCriterion("weight <>", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThan(BigDecimal value) {
            addCriterion("weight >", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("weight >=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThan(BigDecimal value) {
            addCriterion("weight <", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThanOrEqualTo(BigDecimal value) {
            addCriterion("weight <=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightIn(List<BigDecimal> values) {
            addCriterion("weight in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotIn(List<BigDecimal> values) {
            addCriterion("weight not in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("weight between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("weight not between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andAmount1IsNull() {
            addCriterion("amount1 is null");
            return (Criteria) this;
        }

        public Criteria andAmount1IsNotNull() {
            addCriterion("amount1 is not null");
            return (Criteria) this;
        }

        public Criteria andAmount1EqualTo(BigDecimal value) {
            addCriterion("amount1 =", value, "amount1");
            return (Criteria) this;
        }

        public Criteria andAmount1NotEqualTo(BigDecimal value) {
            addCriterion("amount1 <>", value, "amount1");
            return (Criteria) this;
        }

        public Criteria andAmount1GreaterThan(BigDecimal value) {
            addCriterion("amount1 >", value, "amount1");
            return (Criteria) this;
        }

        public Criteria andAmount1GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("amount1 >=", value, "amount1");
            return (Criteria) this;
        }

        public Criteria andAmount1LessThan(BigDecimal value) {
            addCriterion("amount1 <", value, "amount1");
            return (Criteria) this;
        }

        public Criteria andAmount1LessThanOrEqualTo(BigDecimal value) {
            addCriterion("amount1 <=", value, "amount1");
            return (Criteria) this;
        }

        public Criteria andAmount1In(List<BigDecimal> values) {
            addCriterion("amount1 in", values, "amount1");
            return (Criteria) this;
        }

        public Criteria andAmount1NotIn(List<BigDecimal> values) {
            addCriterion("amount1 not in", values, "amount1");
            return (Criteria) this;
        }

        public Criteria andAmount1Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount1 between", value1, value2, "amount1");
            return (Criteria) this;
        }

        public Criteria andAmount1NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount1 not between", value1, value2, "amount1");
            return (Criteria) this;
        }

        public Criteria andSeqNoIsNull() {
            addCriterion("seq_no is null");
            return (Criteria) this;
        }

        public Criteria andSeqNoIsNotNull() {
            addCriterion("seq_no is not null");
            return (Criteria) this;
        }

        public Criteria andSeqNoEqualTo(Integer value) {
            addCriterion("seq_no =", value, "seqNo");
            return (Criteria) this;
        }

        public Criteria andSeqNoNotEqualTo(Integer value) {
            addCriterion("seq_no <>", value, "seqNo");
            return (Criteria) this;
        }

        public Criteria andSeqNoGreaterThan(Integer value) {
            addCriterion("seq_no >", value, "seqNo");
            return (Criteria) this;
        }

        public Criteria andSeqNoGreaterThanOrEqualTo(Integer value) {
            addCriterion("seq_no >=", value, "seqNo");
            return (Criteria) this;
        }

        public Criteria andSeqNoLessThan(Integer value) {
            addCriterion("seq_no <", value, "seqNo");
            return (Criteria) this;
        }

        public Criteria andSeqNoLessThanOrEqualTo(Integer value) {
            addCriterion("seq_no <=", value, "seqNo");
            return (Criteria) this;
        }

        public Criteria andSeqNoIn(List<Integer> values) {
            addCriterion("seq_no in", values, "seqNo");
            return (Criteria) this;
        }

        public Criteria andSeqNoNotIn(List<Integer> values) {
            addCriterion("seq_no not in", values, "seqNo");
            return (Criteria) this;
        }

        public Criteria andSeqNoBetween(Integer value1, Integer value2) {
            addCriterion("seq_no between", value1, value2, "seqNo");
            return (Criteria) this;
        }

        public Criteria andSeqNoNotBetween(Integer value1, Integer value2) {
            addCriterion("seq_no not between", value1, value2, "seqNo");
            return (Criteria) this;
        }

        public Criteria andAmount2IsNull() {
            addCriterion("amount2 is null");
            return (Criteria) this;
        }

        public Criteria andAmount2IsNotNull() {
            addCriterion("amount2 is not null");
            return (Criteria) this;
        }

        public Criteria andAmount2EqualTo(BigDecimal value) {
            addCriterion("amount2 =", value, "amount2");
            return (Criteria) this;
        }

        public Criteria andAmount2NotEqualTo(BigDecimal value) {
            addCriterion("amount2 <>", value, "amount2");
            return (Criteria) this;
        }

        public Criteria andAmount2GreaterThan(BigDecimal value) {
            addCriterion("amount2 >", value, "amount2");
            return (Criteria) this;
        }

        public Criteria andAmount2GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("amount2 >=", value, "amount2");
            return (Criteria) this;
        }

        public Criteria andAmount2LessThan(BigDecimal value) {
            addCriterion("amount2 <", value, "amount2");
            return (Criteria) this;
        }

        public Criteria andAmount2LessThanOrEqualTo(BigDecimal value) {
            addCriterion("amount2 <=", value, "amount2");
            return (Criteria) this;
        }

        public Criteria andAmount2In(List<BigDecimal> values) {
            addCriterion("amount2 in", values, "amount2");
            return (Criteria) this;
        }

        public Criteria andAmount2NotIn(List<BigDecimal> values) {
            addCriterion("amount2 not in", values, "amount2");
            return (Criteria) this;
        }

        public Criteria andAmount2Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount2 between", value1, value2, "amount2");
            return (Criteria) this;
        }

        public Criteria andAmount2NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount2 not between", value1, value2, "amount2");
            return (Criteria) this;
        }

        public Criteria andHsCodeInspIsNull() {
            addCriterion("hs_code_insp is null");
            return (Criteria) this;
        }

        public Criteria andHsCodeInspIsNotNull() {
            addCriterion("hs_code_insp is not null");
            return (Criteria) this;
        }

        public Criteria andHsCodeInspEqualTo(String value) {
            addCriterion("hs_code_insp =", value, "hsCodeInsp");
            return (Criteria) this;
        }

        public Criteria andHsCodeInspNotEqualTo(String value) {
            addCriterion("hs_code_insp <>", value, "hsCodeInsp");
            return (Criteria) this;
        }

        public Criteria andHsCodeInspGreaterThan(String value) {
            addCriterion("hs_code_insp >", value, "hsCodeInsp");
            return (Criteria) this;
        }

        public Criteria andHsCodeInspGreaterThanOrEqualTo(String value) {
            addCriterion("hs_code_insp >=", value, "hsCodeInsp");
            return (Criteria) this;
        }

        public Criteria andHsCodeInspLessThan(String value) {
            addCriterion("hs_code_insp <", value, "hsCodeInsp");
            return (Criteria) this;
        }

        public Criteria andHsCodeInspLessThanOrEqualTo(String value) {
            addCriterion("hs_code_insp <=", value, "hsCodeInsp");
            return (Criteria) this;
        }

        public Criteria andHsCodeInspLike(String value) {
            addCriterion("hs_code_insp like", value, "hsCodeInsp");
            return (Criteria) this;
        }

        public Criteria andHsCodeInspNotLike(String value) {
            addCriterion("hs_code_insp not like", value, "hsCodeInsp");
            return (Criteria) this;
        }

        public Criteria andHsCodeInspIn(List<String> values) {
            addCriterion("hs_code_insp in", values, "hsCodeInsp");
            return (Criteria) this;
        }

        public Criteria andHsCodeInspNotIn(List<String> values) {
            addCriterion("hs_code_insp not in", values, "hsCodeInsp");
            return (Criteria) this;
        }

        public Criteria andHsCodeInspBetween(String value1, String value2) {
            addCriterion("hs_code_insp between", value1, value2, "hsCodeInsp");
            return (Criteria) this;
        }

        public Criteria andHsCodeInspNotBetween(String value1, String value2) {
            addCriterion("hs_code_insp not between", value1, value2, "hsCodeInsp");
            return (Criteria) this;
        }

        public Criteria andCommBarCodeIsNull() {
            addCriterion("comm_bar_code is null");
            return (Criteria) this;
        }

        public Criteria andCommBarCodeIsNotNull() {
            addCriterion("comm_bar_code is not null");
            return (Criteria) this;
        }

        public Criteria andCommBarCodeEqualTo(String value) {
            addCriterion("comm_bar_code =", value, "commBarCode");
            return (Criteria) this;
        }

        public Criteria andCommBarCodeNotEqualTo(String value) {
            addCriterion("comm_bar_code <>", value, "commBarCode");
            return (Criteria) this;
        }

        public Criteria andCommBarCodeGreaterThan(String value) {
            addCriterion("comm_bar_code >", value, "commBarCode");
            return (Criteria) this;
        }

        public Criteria andCommBarCodeGreaterThanOrEqualTo(String value) {
            addCriterion("comm_bar_code >=", value, "commBarCode");
            return (Criteria) this;
        }

        public Criteria andCommBarCodeLessThan(String value) {
            addCriterion("comm_bar_code <", value, "commBarCode");
            return (Criteria) this;
        }

        public Criteria andCommBarCodeLessThanOrEqualTo(String value) {
            addCriterion("comm_bar_code <=", value, "commBarCode");
            return (Criteria) this;
        }

        public Criteria andCommBarCodeLike(String value) {
            addCriterion("comm_bar_code like", value, "commBarCode");
            return (Criteria) this;
        }

        public Criteria andCommBarCodeNotLike(String value) {
            addCriterion("comm_bar_code not like", value, "commBarCode");
            return (Criteria) this;
        }

        public Criteria andCommBarCodeIn(List<String> values) {
            addCriterion("comm_bar_code in", values, "commBarCode");
            return (Criteria) this;
        }

        public Criteria andCommBarCodeNotIn(List<String> values) {
            addCriterion("comm_bar_code not in", values, "commBarCode");
            return (Criteria) this;
        }

        public Criteria andCommBarCodeBetween(String value1, String value2) {
            addCriterion("comm_bar_code between", value1, value2, "commBarCode");
            return (Criteria) this;
        }

        public Criteria andCommBarCodeNotBetween(String value1, String value2) {
            addCriterion("comm_bar_code not between", value1, value2, "commBarCode");
            return (Criteria) this;
        }

        public Criteria andCountryOfDestinationIsNull() {
            addCriterion("country_of_destination is null");
            return (Criteria) this;
        }

        public Criteria andCountryOfDestinationIsNotNull() {
            addCriterion("country_of_destination is not null");
            return (Criteria) this;
        }

        public Criteria andCountryOfDestinationEqualTo(String value) {
            addCriterion("country_of_destination =", value, "countryOfDestination");
            return (Criteria) this;
        }

        public Criteria andCountryOfDestinationNotEqualTo(String value) {
            addCriterion("country_of_destination <>", value, "countryOfDestination");
            return (Criteria) this;
        }

        public Criteria andCountryOfDestinationGreaterThan(String value) {
            addCriterion("country_of_destination >", value, "countryOfDestination");
            return (Criteria) this;
        }

        public Criteria andCountryOfDestinationGreaterThanOrEqualTo(String value) {
            addCriterion("country_of_destination >=", value, "countryOfDestination");
            return (Criteria) this;
        }

        public Criteria andCountryOfDestinationLessThan(String value) {
            addCriterion("country_of_destination <", value, "countryOfDestination");
            return (Criteria) this;
        }

        public Criteria andCountryOfDestinationLessThanOrEqualTo(String value) {
            addCriterion("country_of_destination <=", value, "countryOfDestination");
            return (Criteria) this;
        }

        public Criteria andCountryOfDestinationLike(String value) {
            addCriterion("country_of_destination like", value, "countryOfDestination");
            return (Criteria) this;
        }

        public Criteria andCountryOfDestinationNotLike(String value) {
            addCriterion("country_of_destination not like", value, "countryOfDestination");
            return (Criteria) this;
        }

        public Criteria andCountryOfDestinationIn(List<String> values) {
            addCriterion("country_of_destination in", values, "countryOfDestination");
            return (Criteria) this;
        }

        public Criteria andCountryOfDestinationNotIn(List<String> values) {
            addCriterion("country_of_destination not in", values, "countryOfDestination");
            return (Criteria) this;
        }

        public Criteria andCountryOfDestinationBetween(String value1, String value2) {
            addCriterion("country_of_destination between", value1, value2, "countryOfDestination");
            return (Criteria) this;
        }

        public Criteria andCountryOfDestinationNotBetween(String value1, String value2) {
            addCriterion("country_of_destination not between", value1, value2, "countryOfDestination");
            return (Criteria) this;
        }

        public Criteria andInventoryHeadIdIsNull() {
            addCriterion("inventory_head_id is null");
            return (Criteria) this;
        }

        public Criteria andInventoryHeadIdIsNotNull() {
            addCriterion("inventory_head_id is not null");
            return (Criteria) this;
        }

        public Criteria andInventoryHeadIdEqualTo(Integer value) {
            addCriterion("inventory_head_id =", value, "inventoryHeadId");
            return (Criteria) this;
        }

        public Criteria andInventoryHeadIdNotEqualTo(Integer value) {
            addCriterion("inventory_head_id <>", value, "inventoryHeadId");
            return (Criteria) this;
        }

        public Criteria andInventoryHeadIdGreaterThan(Integer value) {
            addCriterion("inventory_head_id >", value, "inventoryHeadId");
            return (Criteria) this;
        }

        public Criteria andInventoryHeadIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("inventory_head_id >=", value, "inventoryHeadId");
            return (Criteria) this;
        }

        public Criteria andInventoryHeadIdLessThan(Integer value) {
            addCriterion("inventory_head_id <", value, "inventoryHeadId");
            return (Criteria) this;
        }

        public Criteria andInventoryHeadIdLessThanOrEqualTo(Integer value) {
            addCriterion("inventory_head_id <=", value, "inventoryHeadId");
            return (Criteria) this;
        }

        public Criteria andInventoryHeadIdIn(List<Integer> values) {
            addCriterion("inventory_head_id in", values, "inventoryHeadId");
            return (Criteria) this;
        }

        public Criteria andInventoryHeadIdNotIn(List<Integer> values) {
            addCriterion("inventory_head_id not in", values, "inventoryHeadId");
            return (Criteria) this;
        }

        public Criteria andInventoryHeadIdBetween(Integer value1, Integer value2) {
            addCriterion("inventory_head_id between", value1, value2, "inventoryHeadId");
            return (Criteria) this;
        }

        public Criteria andInventoryHeadIdNotBetween(Integer value1, Integer value2) {
            addCriterion("inventory_head_id not between", value1, value2, "inventoryHeadId");
            return (Criteria) this;
        }

        public Criteria andCurrencyIsNull() {
            addCriterion("currency is null");
            return (Criteria) this;
        }

        public Criteria andCurrencyIsNotNull() {
            addCriterion("currency is not null");
            return (Criteria) this;
        }

        public Criteria andCurrencyEqualTo(String value) {
            addCriterion("currency =", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotEqualTo(String value) {
            addCriterion("currency <>", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyGreaterThan(String value) {
            addCriterion("currency >", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyGreaterThanOrEqualTo(String value) {
            addCriterion("currency >=", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyLessThan(String value) {
            addCriterion("currency <", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyLessThanOrEqualTo(String value) {
            addCriterion("currency <=", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyLike(String value) {
            addCriterion("currency like", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotLike(String value) {
            addCriterion("currency not like", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyIn(List<String> values) {
            addCriterion("currency in", values, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotIn(List<String> values) {
            addCriterion("currency not in", values, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyBetween(String value1, String value2) {
            addCriterion("currency between", value1, value2, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotBetween(String value1, String value2) {
            addCriterion("currency not between", value1, value2, "currency");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}